::-webkit-scrollbar-track-piece{
    background-color:rgba(23, 139, 139, 0.2);
}
::-webkit-scrollbar{
    width:6px; 
    height:8px;
}
::-webkit-scrollbar-thumb{
    height:50px;
    background-color:rgba(67,122,126,0.3);
    -webkit-border-radius:6px; 
}

body,ul,li,div,p,h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;  
    box-sizing: content-box; 
}

li{
    list-style: none;
} 

body{
    font-family: "Microsoft YaHei";
    background: black;
}

@keyframes out-of-left {
    0%{
        left: 0;
        right: 50%;
    }
    100%{ 
        left: -50%;
        right: 100%;
    }
}

@keyframes fade-out {
    0%{
        background: rgba(220,220,220,.6);
    }
    100%{
        background: rgba(220,220,220,0);
    }
} 

@keyframes out-of-right {
    0%{
        right: 0;
        left: 50%;
    } 
    100%{ 
        right: -50%;
        left: 100%;
    } 
} 

.start-modal{
    position: absolute; 
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 1080px;
    background: rgba(220,220,220,.6);
    z-index: 9998;
    animation: fade-out 0.6s linear 2s forwards;
}

.zoom-modal{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 1080px;
    background: rgba(10,33,63,.9);
    z-index: 9999;
}

.zoom-word{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 60px;
    text-shadow: 0 0 5px gold;
    color: rgba(10,33,63,.9);
    letter-spacing: 10px;
}

@keyframes zoom-in-down {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
        -ms-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
        transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
        -webkit-animation-timing-function: cubic-bezier(0.55, .055, .675, .19);
        animation-timing-function: cubic-bezier(0.55, .055, .675, .19)
    }
    60% {
        opacity: 1;
        -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
        -ms-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
        transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
        -webkit-animation-timing-function: cubic-bezier(0.175, .885, .32, 1);
        animation-timing-function: cubic-bezier(0.175, .885, .32, 1)
    }
}

.zoom-in-down {
    animation: zoom-in-down 1s both;
}

.door{
    position: absolute;
    top: 0;
    bottom: 0;
    opacity: 0.9;
}

.left-door{
    left: 0;
    right: 50%;
    background: url(./images/godness1.jpg) center center no-repeat;
    background-size: cover ;
    animation: out-of-left 2s ease-in-out forwards;
}
 
.right-door{
    right: 0;
    left: 50%;
    background: url(./images/godness2.jpg) center center no-repeat;
    background-size: cover ;
    animation: out-of-right 2s ease-in-out forwards;
} 

.app{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
}

.stars {
    background: #000 url(images/stars.png) repeat top center;
    z-index: 0;
    height: 1080px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.galaxy{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: url(images/light.png) repeat top center;
}

.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent url(images/twinkling.png) repeat top center;
    z-index: 1;
    -moz-animation: move-twink-back 200s linear infinite;
    -o-animation: move-twink-back 200s linear infinite;
    -webkit-animation: move-twink-back 200s linear infinite;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    0% {
        background-position: 0 0;
    }
    100% { 
        background-position: -10000px 5000px;
    }
}

@keyframes move-clouds-back {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 10000px 5000px;
    }
}

@keyframes fade-down {
    0%{
        top: -56px;
    }
    100%{
        top: 0; 
    }
}

@keyframes fade-in { 
    0%{
        opacity:  0;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        opacity: 1;
    }
}

.topbar{
    position: fixed;
    top: -56px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 5;
    background: rgba(33,36,80,0.4);
    animation: fade-down 0.8s 2.4s forwards;
}

.nav-wrap{
    width: 1200px;
    margin: 0 auto;
    height: 50px;
    position: relative;
}

.hover-block{
    height: 60px;
    width: 120px;
    background: rgba(33,86,98,.5);
    position: absolute;
    left: 0;
    transition: left 0.6s;
    border-radius: 4px;
}

.nav{
    height: 50px;
}

.nav-item{
    float: left;
    padding: 15px 20px;
    height: 100%;
    font-size: 20px;
    cursor: pointer;
}

.nav-item a{
    color: white;
    text-shadow: 0 0 5px aquamarine;
    position: relative;
    z-index: 1;
}

.nav-item a:hover{
    color: skyblue;
    text-shadow: 0 0 5px darkred;
}

.nav-item a.active{
    color: yellow;
    text-shadow:0 0 5px deeppink;
}

.hover-down{
    height: 10px;
    box-shadow: 0 4px 4px rgba(20,203,194,.5);
    cursor: pointer;
}

.content{
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    animation: fade-in 1.2s;
}

a{
    text-decoration: none;
}


/*轮播*/
.banner{
    position: relative;
    overflow: hidden;
}

.banner .scroll{
    height: 100%;
    position: absolute;
    top:0;
}

.banner .scroll li{
    list-style-type: none;
    height: 100%;
    float: left;
    line-height: 400px;
    text-align: center;
    color: white;
    font-size: 60px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.banner .tabs{
    position: absolute;
    left: 0;
    bottom: 20px;
    text-align: center;
    width: 100%;
}

.banner .tabs .tab-btn{
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    text-align: center;
    line-height: 18px;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.banner .tabs .tab-btn.active{
    background: deeppink;
    color: white;
}

.banner .arrow{
    display: inline-block;
    color:white;
    width:30px;
    height:30px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    border:1px solid white;
    position: absolute;
    top:50%;
    margin-top: -15px;
    font-size: 24px;
    cursor: pointer;
}

.banner .arrow.left{
    left:15px;
}

.banner .arrow.right{
    right:15px;
}



/*定义动画*/
@-webkit-keyframes bounceInLeft {
    0%, 100%, 60%, 75%, 90% {
        -webkit-transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
        transition-timing-function: cubic-bezier(0.215, .61, .355, 1)
    }
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-3000px, 0, 0);
        transform: translate3d(-3000px, 0, 0)
    }
    60% {
        opacity: 1;
        -webkit-transform: translate3d(25px, 0, 0);
        transform: translate3d(25px, 0, 0)
    }
    75% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0)
    }
    90% {
        -webkit-transform: translate3d(5px, 0, 0);
        transform: translate3d(5px, 0, 0)
    }
    100% {
        -webkit-transform: none;
        transform: none
    }
}

.bounceInLeft{
    animation: bounceInLeft 2s linear 1.2s backwards;
}
 
@keyframes bounceInRight {
    0%, 100%, 60%, 75%, 90% {
        -webkit-transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
        transition-timing-function: cubic-bezier(0.215, .61, .355, 1)
    }
    0% {
        opacity: 0;
        -webkit-transform: translate3d(3000px, 0, 0);
        -ms-transform: translate3d(3000px, 0, 0);
        transform: translate3d(3000px, 0, 0)
    }
    60% {
        opacity: 1;
        -webkit-transform: translate3d(-25px, 0, 0);
        -ms-transform: translate3d(-25px, 0, 0);
        transform: translate3d(-25px, 0, 0)
    }
    75% {
        -webkit-transform: translate3d(10px, 0, 0);
        -ms-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0)
    }
    90% {
        -webkit-transform: translate3d(-5px, 0, 0);
        -ms-transform: translate3d(-5px, 0, 0);
        transform: translate3d(-5px, 0, 0)
    }
    100% {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none
    }
}

.bounceInRight {
    animation: bounceInRight 2s linear 1.2s backwards;
}


/*抽屉*/
.drawer{
    width: 1200px;
    margin: 30px auto 10px;
    height: 200px;
    animation: fade-in 4s linear forwards;
}

.drawer li{
    float: left;
    width: 100px;
    height: 400px;
    opacity: 0.3;
    transition: all 1s;
}

.drawer li.be-long{
    width: 500px;
    opacity: 1;
}


/*水球*/
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ball-wrap {
    width: 107px;
    height: 107px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -70%);
    -moz-transform: translate(-50%, -70%);
    transform: translate(-50%, -70%);
    border-radius: 50%;
    z-index: 1;
}

.ball-wrap .ball{
    width: 93px;
    height: 93px;
    background-image: url(images/ball.png);
    position: absolute;
    left: 7px;
    top: 7px;
    border-radius: 50%;
}

.ball-wrap .ball .inner {
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9997;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 91px;
    height: 91px;
}

.ball-wrap.green{
    border: 2px solid #047047;
}

.ball-wrap.green .ball{
    background-color: #006e44;
}

.ball-wrap.green .ball .water{
    background: #48cb5e;
}

.ball-wrap.green .ball .water.w2 {
    background: #138C60;
}

.ball-wrap.orange{
    border: 2px solid #744a25;
}

.ball-wrap.orange .ball{
    background-color: #893804;
}

.ball-wrap.orange .ball .water{
    background: #e46a1d;
}

.ball-wrap.orange .ball .water.w2 {
    background: #c35e18;
}

.ball-wrap.red{
    border: 2px solid #891004;
}

.ball-wrap.red .ball{
    background-color: #891004;
}

.ball-wrap.red .ball .water{
    background: #ed3c1f;
}

.ball-wrap.red .ball .water.w2 {
    background: #d32716;
}

.ball-wrap.yellow{
    border: 2px solid #89f004;
}

.ball-wrap.yellow .ball{
    background-color: #88e004;
}

.ball-wrap.yellow .ball .water{
    background: #edec1f;
}

.ball-wrap.yellow .ball .water.w2 {
    background: #d3d716;
}

.ball-wrap .ball .inner {
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9997;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 91px;
    height: 91px;
}

.ball-wrap .ball .inner .percent {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ball-wrap .ball .inner .water {
    position: absolute;
    width: 200%;
    height: 200%;
    left: -50%;
    border-radius: 40%;
    animation: spin 10s linear infinite;
    z-index: 114;
    transition: all 1s ease;
    top: 100%;
}

.ball-wrap .ball .inner .water.w2 {
    left: 20%;
    z-index: 110;
}